package com.team.mp.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 服务记录完成表(ServiceinfoFinished)表实体类
 *
 * @author makejava
 * @since 2023-03-27 19:14:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_serviceinfo_finished")
public class ServiceinfoFinished {
    //序号
    @TableId(type = IdType.AUTO)
    private Integer id;
    //服务信息ID
    private Integer sid;
    //血压
    private String pressure;
    //心率
    private String rate;
    //病情描述
    private String dspt;
    //健康指导
    private String advice;
    //完成时间
    private Date ctime;
    public void init(){
        ctime = new Date();
    }
}

